package com.ruoyi.shop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 商家对象 tb_business
 * 
 * @author ruoyi
 * @date 2023-01-30
 */
public class TbBusiness extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家ID */
    private Integer businessId;

    /** 商铺名称 */
    @Excel(name = "商铺名称")
    private String businessName;

    /** 商家logo */
    @Excel(name = "商家logo")
    private String businessLogo;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Integer userId;

    /** 商家手机号 */
    @Excel(name = "商家手机号")
    private String phonenumber;

    /** 店铺销量 */
    @Excel(name = "店铺销量")
    private Long businessSales;

    /** 身份证 */
    @Excel(name = "身份证")
    private String idCard;

    /** 店铺主类目 */
    @Excel(name = "店铺主类目")
    private String businessTitle;

    /** 商家状态 0未认证 1已认证 */
    @Excel(name = "商家状态 0未认证 1已认证")
    private Long businessState;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setBusinessId(Integer businessId) 
    {
        this.businessId = businessId;
    }

    public Integer getBusinessId() 
    {
        return businessId;
    }
    public void setBusinessName(String businessName) 
    {
        this.businessName = businessName;
    }

    public String getBusinessName() 
    {
        return businessName;
    }
    public void setBusinessLogo(String businessLogo) 
    {
        this.businessLogo = businessLogo;
    }

    public String getBusinessLogo() 
    {
        return businessLogo;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setPhonenumber(String phonenumber) 
    {
        this.phonenumber = phonenumber;
    }

    public String getPhonenumber() 
    {
        return phonenumber;
    }
    public void setBusinessSales(Long businessSales) 
    {
        this.businessSales = businessSales;
    }

    public Long getBusinessSales() 
    {
        return businessSales;
    }
    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }
    public void setBusinessTitle(String businessTitle) 
    {
        this.businessTitle = businessTitle;
    }

    public String getBusinessTitle() 
    {
        return businessTitle;
    }
    public void setBusinessState(Long businessState) 
    {
        this.businessState = businessState;
    }

    public Long getBusinessState() 
    {
        return businessState;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("businessId", getBusinessId())
            .append("businessName", getBusinessName())
            .append("businessLogo", getBusinessLogo())
            .append("userId", getUserId())
            .append("phonenumber", getPhonenumber())
            .append("businessSales", getBusinessSales())
            .append("idCard", getIdCard())
            .append("businessTitle", getBusinessTitle())
            .append("businessState", getBusinessState())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
